Undo / Redo
The Undo button is on the left.
Each time you click this button, the most recent drawing element is removed.
The Redo button is on the right.
Each time you click this button, the most recently undone drawing element is restored.
There is no limit. You can remove the entire drawing one element at a time, and then restore it in reverse order.